<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
     <%@ page import="java.util.*" %>
 <%@ page import="org.json.simple.JSONObject" %>
 <%@ page import="org.json.simple.parser.JSONParser" %>
 <%@ page import="org.json.simple.JSONArray" %>
 <%@ page import="com.netcracker.studportal.server.facade.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Admin View</title>
<link href="style/css/adminStyle.css" rel="stylesheet" type="text/css">
</head>
<body>

<%

if((session.getAttribute("username") == null) || ("").equals(session.getAttribute("username")))
{
	response.sendRedirect("login.jsp");
}

	request.setCharacterEncoding("UTF-8");
	String action = request.getParameter("action");
	
	if ("addStudent".equals(action)){
	response.sendRedirect("AddStudent.jsp");
	
	}
	
	if ("addProfessor".equals(action)){
	response.sendRedirect("AddProfessor.jsp");
	
	}
	
	if ("addExam".equals(action)){
	response.sendRedirect("AddExam.jsp");
	
	}
	
	if ("AssignExam".equals(action)){
	response.sendRedirect("AssignExam.jsp");
	
	}
	%>
	

	
	
	
	
	  
	
	 
</body>
</html>